package com.bw.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class UserController {


    @RequestMapping("/user")
    public Object userPage(){
        return new HashMap<String,String>(){{
           put("a","a");
           put("b","b");
        }};
    }
}
